<template>
  <div class="submit-wrap">
    <G_header title="购买" />
    <div class="order clearfix">
      <div class="l">订单金额</div>
      <div class="r">¥ 5.99</div>
    </div>
    <div class="wechat clearfix">
      <div class="l">
        <van-icon class="iconfont" size="3rem" color="#18c461" class-prefix='icon' name='weixin' />
      </div>
      <div class="l">
        <p>微信支付</p>
        <p>微信支付</p>
      </div>
      <div class="r"><van-icon class="iconfont" size="1.5rem" class-prefix='icon' name='31fanhui2' /></div>
    </div>
    <div class="voucher clearfix">
      <div class="l">
        <van-icon class="iconfont" size="3rem" class-prefix='icon' name='31hongbao1' />
      </div>
      <div class="l">
        <p>购物券支付</p>
        <p>当前余额: ¥ 2.00</p>
      </div>
      <div class="r"><van-icon class="iconfont" size="1.5rem" class-prefix='icon' name='31fanhui2' /></div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Submit',
  data(){
    
  }
}
</script>
<style scoped>
.order {
  background-color: white;
  box-sizing: border-box;
  padding: 5px 12px;
  margin: 0 0 5px;
  line-height: 30px;
}
.wechat,.voucher {
  width: 100%;
  background-color: white;
  box-sizing: border-box;
  padding: 5px 12px;
}
.wechat .l:nth-child(1),.voucher .l:nth-child(1) {
  margin-right: 5px;
  border-right: 1px solid rgb(170, 170, 170,.5);
}
.wechat .l:nth-child(2) p,.voucher .l:nth-child(2) p {
  margin: 0;
}
.wechat .r,.voucher .r {
  line-height: 3rem;
}
</style>
